package com.kelaite.procurement.service;

import java.util.List;

import com.kelaite.procurement.dto.CompanyDTO;
import com.kelaite.procurement.dto.PurchaseOrganizationDTO;
import com.kelaite.procurement.entity.TPurchaseOrganization;

public interface PurchaseOrganizationService {
	
	public TPurchaseOrganization save(TPurchaseOrganization persistence);

	public void deleteByPrimaryKey(Long id);

	public void deleteByObject(TPurchaseOrganization persistence);

	public TPurchaseOrganization getObject(Long id);

	public List<TPurchaseOrganization> getAll();

	public List<TPurchaseOrganization> getByProperty(String property,
			Object value);

	public List<PurchaseOrganizationDTO> getByCompany(CompanyDTO companyDto);

	public int getByOrganizationNo(String organizationNo);
}
